<div align="center">
	<?
		if($loi != ""){
			echo "<ul>\n";
				foreach ($loi as $error){
					echo "<li>$error<li>\n";
				}
			echo "</ul>\n";
		}
	?>
	<form action="index.php?module=loai&action=edit&id=<?php echo $id; ?>" method="POST">
		<table>
			<tr>
				<td>Loai</td>
				<td><input type="text" name="loai" value="<?php echo $data['tenloai']; ?>" /></td>
			</tr>
			<tr>
				<td>&nbsp</td>
				<td><input type="submit" name="ok" value="ok" /></td>
			</tr>
		</table>
	</form>
</div>